@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  line-height:1.15;
}

html,
body {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

div:focus {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  //text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.el-container {
  height: 100%;
}

.filter-container {
  width: 100%;
  overflow-x: auto;
}

.app-main {
  min-height: 100%;
  margin-top:30px;
}

.app-container {
  padding: 10px 20px;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.row {
  margin-right: -20px;
  margin-left: -20px;
}

.iw_poi_content {
  margin-bottom: 5px;
}

img {
  width: 100%;
}

.desc {
  font-size: 12px;
  color: #dddddd;
}

.text-hint {
  color: #999;
  font-size: 14px;
}

//.box {
//  background: #fff;
//  width: 100%;
//  height: 60px;
//  position: relative;
//}

.center-block {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.pagination {
  padding: 10px;
  text-align: center;
}

.search-box {
  width: 100%;
}

.r-table {
  min-width: 768px;
  min-height: 500px;
}

.point {
  cursor: pointer;
}

.center {
  text-align: center;
  color: #606266;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.hidden {
  display: none;
}

.dialog-form {
  width: 80%;
  min-width: 400px;
  margin-left: 50px;
}

.r-dialog {
  min-width: 550px;
}

.el-table .baseTable {
  //background:#efefef;
  padding: 5px 0;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
  color: #444;
}
.pointer {
  cursor: pointer;
}

.m0 {
  margin-bottom: 0 !important;
}

.table-row {
  padding: 5px 0 !important;
}

.search-input {
  width: 230px !important;
}

.remark-input {
  width: 775px !important;
}

.el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
  margin-bottom: 12px;
}

.el-tag {
  height: 24px;
  line-height: 22px;
}

.mt15 {
  margin-top: 15px;
}

.form-input {
  width: 160px !important;
}

/*
全局滚动条样式
*/
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(192, 192, 192, 0.6);
  -webkit-box-shadow: inset 0 0 6px rgba(210, 210, 210, 0.3);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(210, 210, 210, 0.3);
}

::-webkit-scrollbar:horizontal {
  height: 8px;
}

.el-form-item__label {
  font-size: 12px;
  color: #080808;
}

/*.el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
  margin-bottom: 14px;
}*/


.el-pagination {

  -webkit-box-pack: end !important;
  -ms-flex-pack: end !important;
  justify-content: flex-end !important;
}

.el-dialog__body .el-form-item__label {
  font-size: 12px;
  text-align: right;
  width: 110px;
}

.searchform {
  // border: 1px solid #ebeef5;
  border: 1px solid rgb(221, 221, 221);
  margin-bottom: 5px;
  padding: 5px;

}

.table {
  // border: 1px solid #ebeef5;
  //border: 1px solid rgb(221, 221, 221);
  border: 1px solid #dbdfe5;
}

.tableHead {
  height: 31px;
  line-height: 31px;
  display: flex;
  align-items: center;
  padding: 0 10px;
   background-color: $title-background;
  //background-color: rgb(208,224,253);
  font: 1em sans-serif;
  font-size: 13px;
  font-weight:500;
}

.tableHead.tabletitle {
  padding-right: 15px;
}

.tableHead button {
  float: left;
  position: relative;
  height: 26px;
  line-height: 22px;
  background: transparent;
  color: red ;
  border: none;
  padding: 0 8px 0px 8px;
  font-size: 12px
}

.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
  background-color: #409eff;
  border-color: #f2f6fc;
}

// .el-tabs__item {
//   width: 76px;
//   padding: 0;
//   text-align: center;

//   &.is-active {
//     background: #009BA4;
//     color: #fff;
//   }

//   &:hover {}
// }

// .el-tabs__active-bar {
//   display: none;
// }


/*.el-dialog__header {
  background-color: #d4d8da;
  margin-bottom: 8px
}*/

// .el-collapse{
//   border: 1px solid #ebeef5;
//   padding-left: 8px;
//   padding-right: 8px;
//   margin-bottom: 8px;

// }
.el-collapse-item__header {
  background-color: $title-background;
  //background-color: rgb(208,224,253);
  font-size: 14px;
  //padding: 0 20px;
  padding: 0 10px;
  margin-bottom: 5px;
  height:30px;
  line-height:30px;
}

.el-collapse-item {
  border: 1px solid $title-background;
  margin-bottom: 5px;

}

.elform {
  // border: 1px solid #ebeef5;
  border: 1px solid rgb(221, 221, 221);
  margin-bottom: 5px;
  padding: 5px;
  margin-left: 8px;
  margin-right: 8px;
}

.cell {
  text-align: center
}

/**
* 降低table的高度
**/
.el-table th {
  height: 24px;
  background:#efefef;
}

.el-table td {
  padding: 0px;
}

.el-table thead {
  color: #444;
}

/**
* 设置查询列表界面的图标的大小
**/
button.el-button.el-tooltip.item.el-button--text.el-button--small {
  padding: 4px 0px 4px 0px;
  margin: 0px 2px 0px 0px;
}
.el-input__icon{
  cursor: pointer !important;
}


/**
 * scrollbar style
 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track-piece {
  background-color: #def3ff;
}
::-webkit-scrollbar-track-piece {
  background-color: #FFF;
}
::-webkit-scrollbar-thumb {
  width: 16px;
  border-radius: 4px;
  background-color: #def3ff;
  &:hover {
    background-color: $theme-color;
  }
}
::-webkit-scrollbar-thumb:vertical {
  height: 8px;
  border-radius: 4px;
  background-color: #def3ff;
  &:hover {
    background-color: $theme-color;
  }

}
::-webkit-scrollbar-thumb:horizontal {
  width: 8px;
  border-radius: 4px;
  background-color: #def3ff;
  &:hover {
    background-color: $theme-color;
  }
}

.space {
  margin-top: 5px;
}

.form-table .el-form-item {
  margin: 12px 0px;
}
